<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>个人信息</title>
    <link rel="stylesheet" href="../../lib/layui/css/layui.css" />
    <link rel="stylesheet" href="../../css/home.css">
    <link rel="stylesheet" href="../../css/common/default_style.css"/>
    <link rel="stylesheet" href="../../css/templates/pager_style.css"/>
    <link rel="stylesheet" href="../../css/user/message.css"/>
</head>

<body onload="loadData()">


<!-- 主要页面 -->
<div id="main-div">
    <!-- 头部信息 -->
    <div id="card-container">
        <div class="layui-tab layui-tab-card" lay-filter="msg-list">
            <ul class="layui-tab-title">
                <li class="layui-this" >我的帖子</li>
                <li >我的回复</li>
                <li >我的通知</li>
            </ul>
            <div class="layui-tab-content" style="height: 100px;">
                <div class="layui-tab-item layui-show" id="post-tab">
                    <div id="post-list">
                    <div class="post-item">
                        <div class="post-title" href="../post/detail.html?id=postId" >帖子标题</div>
                        <div class="reply-count">32</div>
                        <div class="create-time">2022-12-3 22:23:24</div>
                        <div class="btn-group">
                            <button class="my-button danger" onclick="deletePost(id)">删除</button>
                        </div>

                    </div>
                        <div class="post-item">
                            <div class="post-title" onclick="window.location.href='../post/detail.html?id=postId'">帖子标题</div>
                            <div class="reply-count">32</div>
                            <div class="create-time">2022-12-3 22:23:24</div>
                            <div class="btn-group">
                                <button class="my-button danger" onclick="deletePost(id)">删除</button>
                            </div>

                        </div>
                        <div class="post-item">
                            <div class="post-title" onclick="window.location.href='../post/detail.html?id=postId'">帖子标题</div>
                            <div class="reply-count">32</div>
                            <div class="create-time">2022-12-3 22:23:24</div>
                            <div class="btn-group">
                                <button class="my-button danger" onclick="deletePost(id)">删除</button>
                            </div>

                        </div>
                    </div>
                </div>
                <div class="layui-tab-item" id="reply-list">2</div>
                <div class="layui-tab-item" id="notice-list">3</div>
            </div>
        </div>
    </div>

<!--    分页-->
    <div class="pager-div">
        <div class="my-button last-page" onclick="lastPage()">上一页</div>
        <div class="page-list">
        </div>
        <div class="my-button next-page" onclick="nextPage()">下一页</div>
        <input type="text" id="jump-input" />
        <div class="my-button" onclick="jumpToPage()">跳转</div>
    </div>
</div>


<script src="../../lib/layui/layui.js"></script>
<script src="../../lib/jquery-3.7.0.js"></script>
<script src="../../js/pages/user/message.js"></script>
</body>

</html>